package com.ruoyi.vim.mapper;

import java.util.List;

import com.ruoyi.vim.domain.ImServiceAllocationObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 客服与分配对象关联Mapper接口
 *
 * @author wgp
 * @since 2022-12-14
 */
public interface ImServiceAllocationObjectMapper extends BaseMapper<ImServiceAllocationObject> {
    /**
     * 查询客服与分配对象关联
     *
     * @param id 客服与分配对象关联主键
     * @return 客服与分配对象关联
     */
    public ImServiceAllocationObject selectImServiceAllocationObjectById(Long id);

    /**
     * 查询客服与分配对象关联列表
     *
     * @param imServiceAllocationObject 客服与分配对象关联
     * @return 客服与分配对象关联集合
     */
    public List<ImServiceAllocationObject> selectImServiceAllocationObjectList(ImServiceAllocationObject imServiceAllocationObject);

    /**
     * 新增客服与分配对象关联
     *
     * @param imServiceAllocationObject 客服与分配对象关联
     * @return 结果
     */
    public int insertImServiceAllocationObject(ImServiceAllocationObject imServiceAllocationObject);

    /**
     * 修改客服与分配对象关联
     *
     * @param imServiceAllocationObject 客服与分配对象关联
     * @return 结果
     */
    public int updateImServiceAllocationObject(ImServiceAllocationObject imServiceAllocationObject);

    /**
     * 删除客服与分配对象关联
     *
     * @param id 客服与分配对象关联主键
     * @return 结果
     */
    public int deleteImServiceAllocationObjectById(Long id);

    /**
     * 批量删除客服与分配对象关联
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteImServiceAllocationObjectByIds(Long[] ids);
}
